const BaseService = require('../services/base')

const getRedisInfo = async (ctx) => {
  ctx.body = {
    code: 200,
    data: await BaseService.getRedisInfo()
  }
}

const getSystemInfo = async (ctx) => {
  ctx.body = {
    code: 200,
    data: await BaseService.getSystemInfo()
  }
}

module.exports = {
  getRedisInfo,
  getSystemInfo
}
